package com.entity;

import java.math.BigDecimal;

/**
 * 商品类 具体有苹果 草莓 芒果等水果
 * @author HeLiwei
 * 2023年9月4日
 */
public class Product {

	/**
	 * 价格
	 */
	private BigDecimal price;
	
	/**
	 * 商品名称
	 */
	private String name;
	
	public Product() {}
	
	public Product(BigDecimal price, String name) {
		super();
		this.price = price;
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
